/*
 * File      : demo_xml_file.h
 * Change Logs:
 * Date 		Author			Notes
 * 20130710		jimmy.lee		first version
 * 20130722		jimmy.lee		filerw for mxml-file
 */
#ifndef __XML_FILE_H__
#define __XML_FILE_H__

#include <rtgui/filerw.h>
#include "mxml-config.h"
#include "mxml.h"

#ifdef __cplusplus
extern "C"{
#endif

rt_bool_t is_file_exist(const char *fullpath);
mxml_node_t *xml_load(const char *path);
mxml_node_t *xml_find_path(mxml_node_t *tree, const char *path);
mxml_node_t *xml_scan_wild(mxml_node_t *tree, const char *wildpath);
//const char *xml_node_fullpath(mxml_node_t *node, char *buffer);
#ifdef __cplusplus
}
#endif


#endif
